#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
 @file name: MainWindowImpl.py
 @desc:
 @author: xu wang
 @mail: jason_wangxu@163.com
 @date: 2024/8/11 9:54
"""
from ui.MainWindow import Ui_MainWindow
import adbutils


# 定义一个子类，自定义逻辑可以写在子类
class MainWindowImpl(Ui_MainWindow):
    def __init__(self, window):
        super().__init__()
        self.setupUi(window)
        adb = adbutils.AdbClient(host="127.0.0.1", port=5037, socket_timeout=10)
        print(adb.device_list())
